<#compress >
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>影视</title>
    <link rel="stylesheet" href="${ctx}/static/mobileweb/2/css/style.css?_=${.now?string("yyyy-MM-dd")}">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/scripts/plugins/bootstrap/css/bootstrap.min.css">
        <style>
        @media (max-width: 640px) {
            .col-xs-4 {
                width: 30.33333333%
            }
        }
        @media (max-width: 1080px) {
            .col-xs-4 {
                width: 33.33333333%
            }
        }
        @media (max-width: 540px) {
            .col-xs-4 {
                width: 31.33333333%
            }
        }
        @media (max-width: 320px) {
            .col-xs-4 {
                width: 30.33333333%
            }
        }
    </style>
    <script type="text/javascript">
        document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
            WeixinJSBridge.call('hideToolbar');
        });
    </script>
    <script src="${ctx}/static/scripts/jquery-1.10.2.min.js"></script>
    <script src="${ctx}/static/mobileweb/scripts/TouchSlide.1.1.js"></script>
    <script src="${ctx}/static/mobileweb/scripts/js.js"></script>
    <script src="${ctx}/static/scripts/plugins/bootstrap/js/bootstrap.min.js"></script>
</head>

<body>
<div class="movieBox">
    <div id="movieSlide" class="movieSlide container">
        <div class="hd">
            <ul class="clearfix">
                <li><a href="#">正在热映</a></li>
                <li><a href="#">即将上映</a></li>
            </ul>
        </div>
        <div class="bd">
        <ul class="row">
            <#if nowMovies?size gt 0>
                <#list nowMovies! as now>
                    <li class="col-xs-4 col-md-4">
                        <a class="pic" href="${ctx}/mobileweb/movie/showCnt?mid=${mid!}&movid=${now.id!}">
                            <img src="${ctx}/${now.cover!}" alt="${now.name!}">
                    <span id="like">
                        <img src="${ctx}/static/mobileweb/2/images/like.png" alt="">${now.booking_num!}
                    </span>
                        </a>
                        <a class="tit" href="${ctx}/mobileweb/movie/showCnt?mid=${mid!}&movid=${now.id!}">${now.name!}</a></li>
                </#list>
            <#else>
                <div class="" style="text-align:center;padding:20px 0; background:#ECECEC; box-shadow:none;">
                             <span>
                                 <img style="max-width:20%;" src="${ctx}/static/mobileweb/1/images/tipWarIco.jpg" alt=""/>
                             </span>

                    <p style="color:#ccc;margin-top:4px;">暂无数据！</p>
                </div>
            </#if>
        </ul>
        <ul class="row">
            <#if commingMovies?size gt 0>
                <#list commingMovies! as comming>
                    <li class="col-xs-4 col-xs-3">
                        <a class="pic" href="${ctx}/mobileweb/movie/showCnt?mid=${mid!}&movid=${comming.id!}">
                            <img src="${ctx}/${comming.cover!}" alt="${comming.name!}">
                            <span id="like"><img src="${ctx}/static/mobileweb/2/images/like.png" alt="" ></span>
                        </a>
                        <a class="tit" href="${ctx}/mobileweb/movie/showCnt?mid=${mid!}&movid=${comming.id!}">${comming.name!}</a></li>
                </#list>
            <#else>
                <div class="" style="text-align:center;padding:20px 0; background:#ECECEC; box-shadow:none;">
                             <span>
                                 <img style="max-width:20%;" src="${ctx}/static/mobileweb/1/images/tipWarIco.jpg" alt=""/>
                             </span>

                    <p style="color:#ccc;margin-top:4px;">暂无数据！</p>
                </div>
            </#if>

        </ul>
    </div>
</div>


</div>

<script type="text/javascript">
    TouchSlide({ slideCell:"#movieSlide" });
    $(function(){
    });
</script>
</body>
</html>
</#compress>